cmake_minimum_required(VERSION 2.4)
PROJECT(IRC-Netsplit)

SET(INCLUDES ${IRC-Netsplit_SOURCE_DIR}/include)

SET(CMAKE_BUILD_TYPE debug)
SET(CMAKE_CXX_FLAGS "-Wall -I${INCLUDES} -I/usr/include/dtn")
SET(CMAKE_C_FLAGS "-Wall -I${INCLUDES}")
SET(CMAKE_CXX_FLAGS_DEBUG "-ggdb")

ADD_SUBDIRECTORY(lib)

ADD_SUBDIRECTORY(irc-proxy)

ADD_SUBDIRECTORY(dtn-server)

ADD_SUBDIRECTORY(test)

